/* @import url("https://fonts.googleapis.com/css?family=Roboto"); */
* {
  box-sizing: border-box;
}

:root {
  /* --bg: #F5F5F6; */
  --primary: #636363;
  --secondary: #000000;
  /* --icon-color: white; */
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg);
  height: 100vh;
  margin: 0;
}

/* p {
  font-size: 2em;
  padding-left: 1em;
} */

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 0.5em 0.7em;
  user-select: none;
  z-index: 999;
  opacity:0.9;
}

.closed ~ .footer-bg::after {
  width: 70px;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
.footer-bg::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0px;
  transform: translate(-50%, -85%);
  border-radius: 50px;
  width: 640px;
  height: 150px;
  box-shadow: 0px 0px 0px 2000px var(--primary);
  transition: width 0.3s;
}

.add-menu {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -70%);
  background-color: var(--secondary);
  width: 600px;
  height: 50px;
  border-radius: 99999px;
  transition: width 0.3s;
}

footer svg {
  width: 30px;
  cursor: pointer;
  fill: var(--icon-color);
}

.closed .add-btn:not(.open-close) {
  transform-origin: top left;
  transform: scale(0) translate(-50%, -50%);
}

.closed .open-close {
  transform: translate(-50%, -50%) rotate(0deg);
}

.add-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: 0.3s;
}

.add-l1 {
  transform: scale(1) translate(-175%, -50%);
}

.add-l2 {
  transform: scale(1) translate(-300%, -50%);
}

.add-l3 {
  transform: scale(1) translate(-425%, -50%);
}

.add-l4 {
  transform: scale(1) translate(-550%, -50%);
}

.add-l5 {
  transform: scale(1) translate(-675%, -50%);
}

.add-l6 {
  transform: scale(1) translate(-800%, -50%);
}

.add-l7 {
  transform: scale(1) translate(-925%, -50%);
}
.open-close {
  transform: translate(-50%, -50%) rotate(45deg);
}

.add-r1 {
  transform: scale(1) translate(75%, -50%);
}

.add-r2 {
  transform: scale(1) translate(200%, -50%);
}

.add-r3 {
  transform: scale(1) translate(325%, -50%);
}

.add-r4 {
  transform: scale(1) translate(450%, -50%);
}
.add-r5 {
  transform: scale(1) translate(575%, -50%);
}
.add-r6 {
  transform: scale(1) translate(700%, -50%);
}
.add-r7 {
  transform: scale(1) translate(825%, -50%);
}
.add-menu.closed {
  width: 50px;
}

.footer-right {
  float: right;
  font-size: 30px;
}

